﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="div">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="h2" type="xs:string" />
        <xs:element maxOccurs="unbounded" name="table">
          <xs:complexType>
            <xs:sequence>
              <xs:element maxOccurs="unbounded" name="tr">
                <xs:complexType>
                  <xs:sequence>
                    <xs:element minOccurs="0" maxOccurs="unbounded" name="td">
                      <xs:complexType mixed="true">
                        <xs:sequence minOccurs="0">
                          <xs:element maxOccurs="unbounded" name="strong" type="xs:string" />
                          <xs:element minOccurs="0" name="a">
                            <xs:complexType>
                              <xs:simpleContent>
                                <xs:extension base="xs:string">
                                  <xs:attribute name="href" type="xs:string" use="required" />
                                </xs:extension>
                              </xs:simpleContent>
                            </xs:complexType>
                          </xs:element>
                        </xs:sequence>
                        <xs:attribute name="valign" type="xs:string" use="required" />
                        <xs:attribute name="align" type="xs:string" use="optional" />
                      </xs:complexType>
                    </xs:element>
                    <xs:element minOccurs="0" maxOccurs="unbounded" name="th">
                      <xs:complexType>
                        <xs:simpleContent>
                          <xs:extension base="xs:string">
                            <xs:attribute name="colspan" type="xs:unsignedByte" use="optional" />
                            <xs:attribute name="class" type="xs:string" use="optional" />
                            <xs:attribute name="align" type="xs:string" use="optional" />
                          </xs:extension>
                        </xs:simpleContent>
                      </xs:complexType>
                    </xs:element>
                  </xs:sequence>
                </xs:complexType>
              </xs:element>
            </xs:sequence>
            <xs:attribute name="width" type="xs:string" use="required" />
            <xs:attribute name="cellpadding" type="xs:string" use="required" />
            <xs:attribute name="cellspacing" type="xs:string" use="required" />
            <xs:attribute name="border" type="xs:string" use="required" />
            <xs:attribute name="class" type="xs:string" use="required" />
          </xs:complexType>
        </xs:element>
      </xs:sequence>
      <xs:attribute name="class" type="xs:string" use="required" />
    </xs:complexType>
  </xs:element>
</xs:schema>